<?php

include 'Set.php';

/**
 * 
 * @author Daniel Rivera
 */
class DatabaseTree extends Set {
	
	/**
	 * This method create a set of leaves in function on the parameters
	 * @param tablename Name of table
	 * @param rows Rows obtained from table
	 */
	public function addTable ($tablename, $rows) {
		$this->name = $tablename;
		$this->children = $rows; //rows is an array of leaves.
	}
	
}

?>
